package cn.com.lsy.product.lepao.service;

import cn.com.lsy.product.lepao.model.entities.LpBannerTbl;
import cn.com.lsy.product.lepao.model.entities.LpGoodsTbl;
import cn.com.lsy.product.lepao.model.entities.LpGoodsTblWithBLOBs;
import cn.com.lsy.product.lepao.model.entities.LpVersionTbl;

import java.util.List;

public interface ISystemService {

    List<LpBannerTbl> selectBannerList();

    LpBannerTbl selectBannerInfo(int id);

    boolean updateBanner(LpBannerTbl param);

    boolean insertBanner(LpBannerTbl param);

    boolean delBanner(int id);

    List<LpVersionTbl> selectVersionList();

    boolean insertVersion(LpVersionTbl param);

    boolean delVersion(int id);

    List<LpGoodsTbl> selectGoodsByPage(int start, int end, String type, String searchCondition);

    int selectGoodsByCount(String type, String searchCondition);

    LpGoodsTblWithBLOBs selectGoodsInfo(int id);

    boolean updateGoods(LpGoodsTblWithBLOBs param);

    boolean insertGoods(LpGoodsTblWithBLOBs param);

    boolean delGoods(int id);
}
